<?php /* Smarty version 2.6.18, created on 2016-12-30 00:04:52
         compiled from syllabus/syllabus.set.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
		    <form action="" method="post">
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">课程表基本设置</p>
                </div>
                    <div class="box-body">
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   上午课时：
							  </label>
							  <div class="input-group col-md-5 col-sm-12 col-xs-12">
								   <input type="number" class="form-control" name="set_am" value="<?php echo $this->_tpl_vars['set_data']['set_am']; ?>
">
							  </div> 
				         </div>  
						 <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   下午课时：
							  </label>
							  <div class="input-group col-md-5 col-sm-12 col-xs-12">
								   <input type="number" class="form-control" name="set_pm" value="<?php echo $this->_tpl_vars['set_data']['set_pm']; ?>
">
							  </div> 
				         </div> 
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   上课时间：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								   <label class="choice"><input type="checkbox" name="set_week[]" value="<?php echo $this->_tpl_vars['key']; ?>
" <?php if ($this->_tpl_vars['value']['is_check'] == '1'): ?>checked<?php endif; ?>> <?php echo $this->_tpl_vars['value']['name']; ?>
 </label>
								   <?php endforeach; endif; unset($_from); ?>
							  </div> 
				         </div> 
						 <div class="form-group">
							  <label  class="col-md-3 control-label text-right">
								   课程表模式：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <label class="choice"><input type="radio" name="set_double" value="1" <?php if ($this->_tpl_vars['set_data']['set_double'] == '1'): ?>checked<?php endif; ?>> 不分单双周</label>
								   <label class="choice"><input type="radio" name="set_double" value="2" <?php if ($this->_tpl_vars['set_data']['set_double'] == '2'): ?>checked<?php endif; ?>>单双周</label>
							  </div> 
				         </div>
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   请假无需扣除原因：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <?php $_from = $this->_tpl_vars['free_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								   <label class="choice"><input type="checkbox" name="set_free[]" value="<?php echo $this->_tpl_vars['key']; ?>
" <?php if ($this->_tpl_vars['value']['is_check'] == '1'): ?>checked<?php endif; ?>> <?php echo $this->_tpl_vars['value']['name']; ?>
 </label>
								   <?php endforeach; endif; unset($_from); ?>
							  </div> 
				         </div> 	  						   
				    </div><!--box-body -->
					<div class="box-footer text-center">
					     <button type="submit" class="btn btn-primary">确 定</button>
					</div>
				</form>
             </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
<!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>